package com.xindacloud.sms.adapter.service.business;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xindacloud.sms.adapter.entity.SmsPricing;

import java.util.Collection;
import java.util.List;

public interface ISmsPricingService extends IService<SmsPricing> {


    List<SmsPricing> queryPreferentialPriceOrderByAsc(String countryCode, String countryPrefix);

    Boolean saveBatchPricing(Collection<SmsPricing> smsPricingList);

    List<SmsPricing> querySmsPricingListByAgentId(String agentId);

    Boolean deleteSmsPricingListByAgentId(String agentId);

    List<SmsPricing> queryPricingGroupByCountryCodeAndNetworkCode();
}
